<?php
class MenuFunction {
	private $menuStyle;
	private $menuName;
	private $menuLink;
	
	function __construct($menuStyle, $menuName, $menuLink) {
		$this->menuName = $menuName;
		$this->menuStyle = $menuStyle;
		$this->menuLink = $menuLink;
   	}

	public function setMenuStyle($menuStyle) {
		$this->menuStyle = $menuStyle;
	}

	public function getMenuStyle() {
		return $this->menuStyle;
	}
	
	public function setMenuName($menuName) {
		$this->menuName = $menuName;
	}

	public function getMenuName() {
		return $this->menuName;
	}

	public function setMenuLink($menuLink) {
		$this->menuLink = $menuLink;
	}

	public function getMenuLink() {
		return $this->menuLink;
	}
	
}

$menuFunctions = array();
for ($i=0; $i < 8; $i++) {
	array_push($menuFunctions, 0);
}
$menuFunctions[0] = new MenuFunction('menuLvl1LabelClass', 'Webpage Maintenance', 'testEnv.php');
$menuFunctions[1] = new MenuFunction('menuLvl2LabelClass', 'Update Announcement', 'announcement_update.php');
$menuFunctions[2] = new MenuFunction('menuLvl2LabelClass', 'Update About Us', 'about_us_update.php');
$menuFunctions[3] = new MenuFunction('menuLvl2LabelClass', 'Update Head Office and Showroom', 'ho_showroom_update.php');
//$menuFunctions[4] = new MenuFunction('menuLvl2LabelClass', 'Update Factories', 'factory_update.php');
$menuFunctions[4] = new MenuFunction('menuLvl2LabelClass', 'Update Outlets', 'outlet_update.php');
$menuFunctions[5] = new MenuFunction('menuLvl1LabelClass', 'Product Maintenance', 'testEnv.php');
$menuFunctions[6] = new MenuFunction('menuLvl2LabelClass', 'Add Product', 'product_update.php');
$menuFunctions[7] = new MenuFunction('menuLvl2LabelClass', 'Browse Product', 'product_browse.php');
$menuFunctions[8] = new MenuFunction('menuLvl1LabelClass', 'Orders Maintenance', 'testEnv.php');
$menuFunctions[9] = new MenuFunction('menuLvl2LabelClass', 'Update Orders', 'order_update.php');
?>